//
//  NewsViewController.h
//  WeLoveNews
//
//  Created by dllo on 15/10/7.
//  Copyright (c) 2015年 杜怡方. All rights reserved..
//

#import <UIKit/UIKit.h>

@protocol SliderButtonDelegate <NSObject>

- (void)buttonOfSliderButtonClicked:(UIButton *)sender;

@end


@interface SliderButton : UIView

/**
 *  按钮标题数组
 */
@property (nonatomic,strong) NSArray *btnTitleArray;

/**
 *  按钮标题以及标识线的背景颜色
 */
@property (nonatomic, strong) UIColor *tintColor;

@property (nonatomic, assign) NSInteger buttonTag;


- (instancetype)initWithFrame:(CGRect)frame andBtnTitleArray:(NSArray *)array;

@property (nonatomic, retain) id<SliderButtonDelegate> delegate;


@end
